package testA;

public class Test {
  public static void main(String[] args) {
	String c = "cab()";
	int g = c.indexOf("(");
	System.out.println(c.substring(0,g));
}
}
